#include <iostream>

using namespace std;

string s;

int main()
{
	string ans;
	while(cin >> s)
	{
		ans += toupper(s[0]);
	}
	cout << ans << endl;
	return 0;
}
